﻿
using System.Collections.Generic;
public  class GlobalSettingsItem 
{
    #region Extensibility Method Definitions
    #endregion
    public string PageTitle { get; set; }
    public string ID { get; set; }
    [Microsoft.SharePoint.Linq.ColumnAttribute(Name = "ContactUSText", Storage = "_contactUSText", FieldType = "Text")]
    public string ContactUSText
    {
        get;
        set;
    }

    [Microsoft.SharePoint.Linq.ColumnAttribute(Name = "ContactUSUrl", Storage = "_contactUSUrl", FieldType = "Text")]
    public string ContactUSUrl
    {
        get;
        set;
    }

    [Microsoft.SharePoint.Linq.ColumnAttribute(Name = "CNText", Storage = "_cNText", FieldType = "Text")]
    public string CNText
    {
        get;
        set;
    }

    [Microsoft.SharePoint.Linq.ColumnAttribute(Name = "CNUrl", Storage = "_cNUrl", FieldType = "Text")]
    public string CNUrl
    {
        get;
        set;
    }

    [Microsoft.SharePoint.Linq.ColumnAttribute(Name = "ENText", Storage = "_eNText", FieldType = "Text")]
    public string ENText
    {
        get;
        set;
    }

    [Microsoft.SharePoint.Linq.ColumnAttribute(Name = "ENUrl", Storage = "_eNUrl", FieldType = "Text")]
    public string ENUrl
    {
        get;
        set;
    }

    [Microsoft.SharePoint.Linq.ColumnAttribute(Name = "INIcon", Storage = "_iNIcon", FieldType = "Text")]
    public string INIcon
    {
        get;
        set;
    }

    [Microsoft.SharePoint.Linq.ColumnAttribute(Name = "INUrl", Storage = "_iNUrl", FieldType = "Text")]
    public string INUrl
    {
        get;
        set;
    }

    [Microsoft.SharePoint.Linq.ColumnAttribute(Name = "HomeText", Storage = "_homeText", FieldType = "Text")]
    public string HomeText
    {
        get;
        set;
    }

    [Microsoft.SharePoint.Linq.ColumnAttribute(Name = "HomeUrl", Storage = "_homeUrl", FieldType = "Text")]
    public string HomeUrl
    {
        get;
        set;
    }

    [Microsoft.SharePoint.Linq.ColumnAttribute(Name = "Logo", Storage = "_logo", FieldType = "Text")]
    public string Logo
    {
        get;
        set;
    }

    [Microsoft.SharePoint.Linq.ColumnAttribute(Name = "UseTermText", Storage = "_useTermText", FieldType = "Text")]
    public string UseTermText
    {
        get;
        set;
    }

    [Microsoft.SharePoint.Linq.ColumnAttribute(Name = "UseTermUrl", Storage = "_useTermUrl", FieldType = "Text")]
    public string UseTermUrl
    {
        get;
        set;
    }

    [Microsoft.SharePoint.Linq.ColumnAttribute(Name = "SiteMapText", Storage = "_siteMapText", FieldType = "Text")]
    public string SiteMapText
    {
        get;
        set;
    }

    [Microsoft.SharePoint.Linq.ColumnAttribute(Name = "SiteMapUrl", Storage = "_siteMapUrl", FieldType = "Text")]
    public string SiteMapUrl
    {
        get;
        set;
    }   

    [Microsoft.SharePoint.Linq.ColumnAttribute(Name = "CopyRight", Storage = "_copyRight", FieldType = "Text")]
    public string CopyRight
    {
        get;
        set;
    }    

    [Microsoft.SharePoint.Linq.ColumnAttribute(Name = "Language", Storage = "_language", FieldType = "Choice")]
    public string Language
    {
        get;
        set;
    }

    [Microsoft.SharePoint.Linq.ColumnAttribute(Name = "DeviceType", Storage = "_deviceType", FieldType = "Choice")]
    public string DeviceType
    {
        get;
        set;
    }

    public List<BottomLink> BottomLinks { get; set; }
    public List<BottomMenu> BottomMenus { get; set; }
}

public class BottomLink
{
    public string Text {get; set; }
    public string Url { get; set; }
}

public class BottomMenu
{
    public string Text { get; set; }
    public string Url { get; set; }
}